//
//  LVSessionMorePopView.h
//  LEVE
//
//  Created by 上官惠阳 on 2017/3/11.
//  Copyright © 2017年 dashuju. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LVSessionMorePopView;
typedef void(^LVSessionMorePopViewItemClickHandle)(LVSessionMorePopView *popView, NSInteger currentIndex, NSString *title);

@interface LVSessionMorePopView : UIView

/**
 *  初始化
 *
 *  @param cancelTitle 取消
 *  @param alertTitle  提示文字
 *  @param title       子控件文本
 */
+ (instancetype)actionMorePopViewWithCancelTitle:(NSString *)cancelTitle alertTitle:(NSString *)alertTitle SubTitle:(NSString *)subTitle btnTitles:(NSString *)title,...NS_REQUIRES_NIL_TERMINATION;

- (void)setCustomActionPopViewItemClickHandle:(LVSessionMorePopViewItemClickHandle)itemClickHandle;

- (void)setupCancelBlock:(BOOL (^)())cancelBlock;

- (void)showInView:(UIView *)view;

- (void)dismissFromSuperview;
@end
